/**
 * Created by zhangsong on 2019/9/22.
 */
import { valueUniqueByKey } from '@/utils/utils';

const namespace = 'application-vaccine';

const state = {
  saveLoading: false,
  vaccinedetial: null,
  modifycode: 201,
  xslloading: false,
  partbinfo: {},
};

const effects = {
  addVaccine: '',
  modifyVaccine: '',
  getVaccine: '',
  setStateSw: '',
  uploadfile: '',
  downLoadXlsx: '',
  setData: '',
};

const reducers = {
  setState: '',
};

const subscriptions = {};

valueUniqueByKey(effects);
valueUniqueByKey(reducers);
valueUniqueByKey(subscriptions);

export default {
  Namespace: namespace,
  State: state,
  Effects: effects,
  Reducers: reducers,
  Subscriptions: subscriptions,
};
